package com.puti.doctor.domian;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.puti.common.core.annotation.Excel;
import com.puti.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class SystemHospitalDept extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 科室编号 */
    private Long deptId;

    /** 科室名称 */
    @Excel(name = "科室名称")
    private String deptName;

    /** 医师姓名 */
    @Excel(name = "医师姓名")
    private String doctorName;

    /** 科室医师人数 */
    @Excel(name = "科室医师人数")
    private Long deptDoctors;

    /** 好评度 */
    @Excel(name = "好评度")
    private BigDecimal deptPraise;

    /** 问诊次数 */
    @Excel(name = "问诊次数")
    private Long deptConsultation;

    /** 医院编号 */
    @Excel(name = "医院编号")
    private Long deptHospitalId;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    private Long revision;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }

    public String getDeptName()
    {
        return deptName;
    }
    public void setDeptDoctors(Long deptDoctors)
    {
        this.deptDoctors = deptDoctors;
    }

    public Long getDeptDoctors()
    {
        return deptDoctors;
    }
    public void setDeptPraise(BigDecimal deptPraise)
    {
        this.deptPraise = deptPraise;
    }

    public BigDecimal getDeptPraise()
    {
        return deptPraise;
    }
    public void setDeptConsultation(Long deptConsultation)
    {
        this.deptConsultation = deptConsultation;
    }

    public Long getDeptConsultation()
    {
        return deptConsultation;
    }
    public void setDeptHospitalId(Long deptHospitalId)
    {
        this.deptHospitalId = deptHospitalId;
    }

    public Long getDeptHospitalId()
    {
        return deptHospitalId;
    }
    public void setRevision(Long revision)
    {
        this.revision = revision;
    }

    public Long getRevision()
    {
        return revision;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy)
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy()
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return "SystemHospitalDept{" +
                "deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", doctorName='" + doctorName + '\'' +
                ", deptDoctors=" + deptDoctors +
                ", deptPraise=" + deptPraise +
                ", deptConsultation=" + deptConsultation +
                ", deptHospitalId=" + deptHospitalId +
                ", revision=" + revision +
                ", createdBy='" + createdBy + '\'' +
                ", createdTime=" + createdTime +
                ", updatedBy='" + updatedBy + '\'' +
                ", updatedTime=" + updatedTime +
                '}';
    }
}
